package com.hql.handicraft_display_system.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hql.handicraft_display_system.admin.entity.Crafts;
import com.hql.handicraft_display_system.admin.entity.vo.CraftsVO;
import com.hql.handicraft_display_system.admin.result.PageModel;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author hql
 * @since 2022-01-08
 */
public interface CraftsService extends IService<Crafts> {

    PageModel<CraftsVO> listByPage(Integer page, Integer limit, String keyword);

    void changeStatus(Integer id, Integer status);

    void addOrUpdate(Crafts crafts);
}
